package com.intellij.GraphEditor;

import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;


public class MyKeyAdapter extends KeyAdapter {
    Editor editor;

    public MyKeyAdapter(Editor editor) {
        this.editor = editor;
    }

    public void keyPressed(KeyEvent ke) {
        System.out.print(ke.getKeyChar());
    }

    public void keyTyped(KeyEvent ke) {
        System.out.print(ke.getKeyChar());
    }
}
